package com.acme.bankapp.domain.bank;

public class Client {

	private Account account;
	private String name;
	private Gender gender;

	public Client(String name, Gender gender, Account account) {
		this.account = account;
		this.name = name;
		this.gender = gender;
	}
	
	public String getClientSalutation() {
		return String.format("%s %s", gender.getHonorific(), name);
	}
	
	public Account getAccount() {
		return account;
	}

}
